package com.dynabook.ems.model.entity;

import cn.idev.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName ems_category
 */
@TableName(value ="ems_category")
@Data
public class EmsCategory implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("主键id")
    private Integer id;

    /**
     * item_code
     */
    @TableField(value = "item_code")
    @ApiModelProperty("样品型号")
    @ExcelProperty("样品型号")
    private String itemCode;

    /**
     * 所属类型
     */
    @TableField(value = "big_category")
    @ApiModelProperty("样品分类")
    @ExcelProperty("样品分类")
    private String bigCategory;

    /**
     * 所属细分
     */
    @TableField(value = "category")
    @ApiModelProperty("样品细分")
    @ExcelProperty("样品细分")
    private String category;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}